<template>
    <div class="empty" @touchstart.prevent>
        <div id="box">
            <div class="icon"><span class="iconfont icon-kong"></span></div>
            <slot>空列表</slot>
        </div>
    </div>
</template>

<script>
    export default {
        name: "empty"
    }
</script>

<style scoped lang="less">
    .empty{
        position: relative;
        height: 100%;
        color:#999;
    }
    #box{
        position: absolute;
        top:50%;
        left:50%;
        transform: translate(-50%,-50%);
        text-align: center;
        font-size: 16px;
        .icon{
            margin-bottom: 5px;
            span{
                font-size: 80px;
            }
        }
    }
</style>